﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FCMS.Service;

namespace FCMS.Mvc.Controllers.Site
{
    public class HomeController : SiteBaseController
    {
        public ActionResult Index()
        {
            UserService user = new UserService();
            var u = user.GetUser(1);
            user.CreateUser(new Entities.User()
            {
                Password = "123",
                UserName = "222",
                XX = "22"
            });
            user.SaveUser();
            return View();
        }

        public ActionResult List(int id)
        {
            return View();
        }
    }
}
